﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using WeiXinPF.Modules.CDRT.SmartCity.Application.DTO;
using WeiXinPF.Modules.CDRT.SmartCity.Domain.Models;

namespace WeiXinPF.Modules.CDRT.SmartCity.Application.Services
{
    public interface IMessageService
    {
        void CreateMessage(MessageDTO dto);

        MessageDTO GetMessage(int id);

        List<MessageDTO> GetMessages(int wid, string keyWord , int status,string type_);

        List<MessageDTO> GetAllMessages(int wid, string keyWord, string type);

        void DeleteMessage(int messageid);

        void UpdateMessage(Message msg);
    }
}
